package cn.hengzhu.main_manager.repository.domain;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class ManageCaseTypeExample {
    /**
     *
     * @mbg.generated
     */
    protected String orderByClause;

    /**
     *
     * @mbg.generated
     */
    protected boolean distinct;

    /**
     *
     * @mbg.generated
     */
    protected List<Criteria> oredCriteria;

    /**
     *
     * @mbg.generated
     */
    public ManageCaseTypeExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    /**
     *
     * @mbg.generated
     */
    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    /**
     *
     * @mbg.generated
     */
    public String getOrderByClause() {
        return orderByClause;
    }

    /**
     *
     * @mbg.generated
     */
    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    /**
     *
     * @mbg.generated
     */
    public boolean isDistinct() {
        return distinct;
    }

    /**
     *
     * @mbg.generated
     */
    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    /**
     *
     * @mbg.generated
     */
    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    /**
     *
     * @mbg.generated
     */
    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    /**
     *
     * @mbg.generated
     */
    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    /**
     *
     * @mbg.generated
     */
    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    /**
     *
     * @mbg.generated
     */
    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    /**
     *
     * @mbg.generated
     */
    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andTypeIdIsNull() {
            addCriterion("TYPE_ID is null");
            return (Criteria) this;
        }

        public Criteria andTypeIdIsNotNull() {
            addCriterion("TYPE_ID is not null");
            return (Criteria) this;
        }

        public Criteria andTypeIdEqualTo(Integer value) {
            addCriterion("TYPE_ID =", value, "typeId");
            return (Criteria) this;
        }

        public Criteria andTypeIdNotEqualTo(Integer value) {
            addCriterion("TYPE_ID <>", value, "typeId");
            return (Criteria) this;
        }

        public Criteria andTypeIdGreaterThan(Integer value) {
            addCriterion("TYPE_ID >", value, "typeId");
            return (Criteria) this;
        }

        public Criteria andTypeIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("TYPE_ID >=", value, "typeId");
            return (Criteria) this;
        }

        public Criteria andTypeIdLessThan(Integer value) {
            addCriterion("TYPE_ID <", value, "typeId");
            return (Criteria) this;
        }

        public Criteria andTypeIdLessThanOrEqualTo(Integer value) {
            addCriterion("TYPE_ID <=", value, "typeId");
            return (Criteria) this;
        }

        public Criteria andTypeIdIn(List<Integer> values) {
            addCriterion("TYPE_ID in", values, "typeId");
            return (Criteria) this;
        }

        public Criteria andTypeIdNotIn(List<Integer> values) {
            addCriterion("TYPE_ID not in", values, "typeId");
            return (Criteria) this;
        }

        public Criteria andTypeIdBetween(Integer value1, Integer value2) {
            addCriterion("TYPE_ID between", value1, value2, "typeId");
            return (Criteria) this;
        }

        public Criteria andTypeIdNotBetween(Integer value1, Integer value2) {
            addCriterion("TYPE_ID not between", value1, value2, "typeId");
            return (Criteria) this;
        }

        public Criteria andNameIsNull() {
            addCriterion("NAME is null");
            return (Criteria) this;
        }

        public Criteria andNameIsNotNull() {
            addCriterion("NAME is not null");
            return (Criteria) this;
        }

        public Criteria andNameEqualTo(String value) {
            addCriterion("NAME =", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotEqualTo(String value) {
            addCriterion("NAME <>", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThan(String value) {
            addCriterion("NAME >", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThanOrEqualTo(String value) {
            addCriterion("NAME >=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThan(String value) {
            addCriterion("NAME <", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThanOrEqualTo(String value) {
            addCriterion("NAME <=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLike(String value) {
            addCriterion("NAME like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotLike(String value) {
            addCriterion("NAME not like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameIn(List<String> values) {
            addCriterion("NAME in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotIn(List<String> values) {
            addCriterion("NAME not in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameBetween(String value1, String value2) {
            addCriterion("NAME between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotBetween(String value1, String value2) {
            addCriterion("NAME not between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andPayTypeIsNull() {
            addCriterion("PAY_TYPE is null");
            return (Criteria) this;
        }

        public Criteria andPayTypeIsNotNull() {
            addCriterion("PAY_TYPE is not null");
            return (Criteria) this;
        }

        public Criteria andPayTypeEqualTo(Byte value) {
            addCriterion("PAY_TYPE =", value, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeNotEqualTo(Byte value) {
            addCriterion("PAY_TYPE <>", value, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeGreaterThan(Byte value) {
            addCriterion("PAY_TYPE >", value, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeGreaterThanOrEqualTo(Byte value) {
            addCriterion("PAY_TYPE >=", value, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeLessThan(Byte value) {
            addCriterion("PAY_TYPE <", value, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeLessThanOrEqualTo(Byte value) {
            addCriterion("PAY_TYPE <=", value, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeIn(List<Byte> values) {
            addCriterion("PAY_TYPE in", values, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeNotIn(List<Byte> values) {
            addCriterion("PAY_TYPE not in", values, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeBetween(Byte value1, Byte value2) {
            addCriterion("PAY_TYPE between", value1, value2, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeNotBetween(Byte value1, Byte value2) {
            addCriterion("PAY_TYPE not between", value1, value2, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTimeIsNull() {
            addCriterion("PAY_TIME is null");
            return (Criteria) this;
        }

        public Criteria andPayTimeIsNotNull() {
            addCriterion("PAY_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andPayTimeEqualTo(Byte value) {
            addCriterion("PAY_TIME =", value, "payTime");
            return (Criteria) this;
        }

        public Criteria andPayTimeNotEqualTo(Byte value) {
            addCriterion("PAY_TIME <>", value, "payTime");
            return (Criteria) this;
        }

        public Criteria andPayTimeGreaterThan(Byte value) {
            addCriterion("PAY_TIME >", value, "payTime");
            return (Criteria) this;
        }

        public Criteria andPayTimeGreaterThanOrEqualTo(Byte value) {
            addCriterion("PAY_TIME >=", value, "payTime");
            return (Criteria) this;
        }

        public Criteria andPayTimeLessThan(Byte value) {
            addCriterion("PAY_TIME <", value, "payTime");
            return (Criteria) this;
        }

        public Criteria andPayTimeLessThanOrEqualTo(Byte value) {
            addCriterion("PAY_TIME <=", value, "payTime");
            return (Criteria) this;
        }

        public Criteria andPayTimeIn(List<Byte> values) {
            addCriterion("PAY_TIME in", values, "payTime");
            return (Criteria) this;
        }

        public Criteria andPayTimeNotIn(List<Byte> values) {
            addCriterion("PAY_TIME not in", values, "payTime");
            return (Criteria) this;
        }

        public Criteria andPayTimeBetween(Byte value1, Byte value2) {
            addCriterion("PAY_TIME between", value1, value2, "payTime");
            return (Criteria) this;
        }

        public Criteria andPayTimeNotBetween(Byte value1, Byte value2) {
            addCriterion("PAY_TIME not between", value1, value2, "payTime");
            return (Criteria) this;
        }

        public Criteria andPriceIsNull() {
            addCriterion("PRICE is null");
            return (Criteria) this;
        }

        public Criteria andPriceIsNotNull() {
            addCriterion("PRICE is not null");
            return (Criteria) this;
        }

        public Criteria andPriceEqualTo(String value) {
            addCriterion("PRICE =", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceNotEqualTo(String value) {
            addCriterion("PRICE <>", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceGreaterThan(String value) {
            addCriterion("PRICE >", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceGreaterThanOrEqualTo(String value) {
            addCriterion("PRICE >=", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceLessThan(String value) {
            addCriterion("PRICE <", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceLessThanOrEqualTo(String value) {
            addCriterion("PRICE <=", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceLike(String value) {
            addCriterion("PRICE like", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceNotLike(String value) {
            addCriterion("PRICE not like", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceIn(List<String> values) {
            addCriterion("PRICE in", values, "price");
            return (Criteria) this;
        }

        public Criteria andPriceNotIn(List<String> values) {
            addCriterion("PRICE not in", values, "price");
            return (Criteria) this;
        }

        public Criteria andPriceBetween(String value1, String value2) {
            addCriterion("PRICE between", value1, value2, "price");
            return (Criteria) this;
        }

        public Criteria andPriceNotBetween(String value1, String value2) {
            addCriterion("PRICE not between", value1, value2, "price");
            return (Criteria) this;
        }

        public Criteria andCompIdIsNull() {
            addCriterion("COMP_ID is null");
            return (Criteria) this;
        }

        public Criteria andCompIdIsNotNull() {
            addCriterion("COMP_ID is not null");
            return (Criteria) this;
        }

        public Criteria andCompIdEqualTo(Integer value) {
            addCriterion("COMP_ID =", value, "compId");
            return (Criteria) this;
        }

        public Criteria andCompIdNotEqualTo(Integer value) {
            addCriterion("COMP_ID <>", value, "compId");
            return (Criteria) this;
        }

        public Criteria andCompIdGreaterThan(Integer value) {
            addCriterion("COMP_ID >", value, "compId");
            return (Criteria) this;
        }

        public Criteria andCompIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("COMP_ID >=", value, "compId");
            return (Criteria) this;
        }

        public Criteria andCompIdLessThan(Integer value) {
            addCriterion("COMP_ID <", value, "compId");
            return (Criteria) this;
        }

        public Criteria andCompIdLessThanOrEqualTo(Integer value) {
            addCriterion("COMP_ID <=", value, "compId");
            return (Criteria) this;
        }

        public Criteria andCompIdIn(List<Integer> values) {
            addCriterion("COMP_ID in", values, "compId");
            return (Criteria) this;
        }

        public Criteria andCompIdNotIn(List<Integer> values) {
            addCriterion("COMP_ID not in", values, "compId");
            return (Criteria) this;
        }

        public Criteria andCompIdBetween(Integer value1, Integer value2) {
            addCriterion("COMP_ID between", value1, value2, "compId");
            return (Criteria) this;
        }

        public Criteria andCompIdNotBetween(Integer value1, Integer value2) {
            addCriterion("COMP_ID not between", value1, value2, "compId");
            return (Criteria) this;
        }

        public Criteria andUserTimeIsNull() {
            addCriterion("USER_TIME is null");
            return (Criteria) this;
        }

        public Criteria andUserTimeIsNotNull() {
            addCriterion("USER_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andUserTimeEqualTo(String value) {
            addCriterion("USER_TIME =", value, "userTime");
            return (Criteria) this;
        }

        public Criteria andUserTimeNotEqualTo(String value) {
            addCriterion("USER_TIME <>", value, "userTime");
            return (Criteria) this;
        }

        public Criteria andUserTimeGreaterThan(String value) {
            addCriterion("USER_TIME >", value, "userTime");
            return (Criteria) this;
        }

        public Criteria andUserTimeGreaterThanOrEqualTo(String value) {
            addCriterion("USER_TIME >=", value, "userTime");
            return (Criteria) this;
        }

        public Criteria andUserTimeLessThan(String value) {
            addCriterion("USER_TIME <", value, "userTime");
            return (Criteria) this;
        }

        public Criteria andUserTimeLessThanOrEqualTo(String value) {
            addCriterion("USER_TIME <=", value, "userTime");
            return (Criteria) this;
        }

        public Criteria andUserTimeLike(String value) {
            addCriterion("USER_TIME like", value, "userTime");
            return (Criteria) this;
        }

        public Criteria andUserTimeNotLike(String value) {
            addCriterion("USER_TIME not like", value, "userTime");
            return (Criteria) this;
        }

        public Criteria andUserTimeIn(List<String> values) {
            addCriterion("USER_TIME in", values, "userTime");
            return (Criteria) this;
        }

        public Criteria andUserTimeNotIn(List<String> values) {
            addCriterion("USER_TIME not in", values, "userTime");
            return (Criteria) this;
        }

        public Criteria andUserTimeBetween(String value1, String value2) {
            addCriterion("USER_TIME between", value1, value2, "userTime");
            return (Criteria) this;
        }

        public Criteria andUserTimeNotBetween(String value1, String value2) {
            addCriterion("USER_TIME not between", value1, value2, "userTime");
            return (Criteria) this;
        }

        public Criteria andIsDefaultIsNull() {
            addCriterion("IS_DEFAULT is null");
            return (Criteria) this;
        }

        public Criteria andIsDefaultIsNotNull() {
            addCriterion("IS_DEFAULT is not null");
            return (Criteria) this;
        }

        public Criteria andIsDefaultEqualTo(Byte value) {
            addCriterion("IS_DEFAULT =", value, "isDefault");
            return (Criteria) this;
        }

        public Criteria andIsDefaultNotEqualTo(Byte value) {
            addCriterion("IS_DEFAULT <>", value, "isDefault");
            return (Criteria) this;
        }

        public Criteria andIsDefaultGreaterThan(Byte value) {
            addCriterion("IS_DEFAULT >", value, "isDefault");
            return (Criteria) this;
        }

        public Criteria andIsDefaultGreaterThanOrEqualTo(Byte value) {
            addCriterion("IS_DEFAULT >=", value, "isDefault");
            return (Criteria) this;
        }

        public Criteria andIsDefaultLessThan(Byte value) {
            addCriterion("IS_DEFAULT <", value, "isDefault");
            return (Criteria) this;
        }

        public Criteria andIsDefaultLessThanOrEqualTo(Byte value) {
            addCriterion("IS_DEFAULT <=", value, "isDefault");
            return (Criteria) this;
        }

        public Criteria andIsDefaultIn(List<Byte> values) {
            addCriterion("IS_DEFAULT in", values, "isDefault");
            return (Criteria) this;
        }

        public Criteria andIsDefaultNotIn(List<Byte> values) {
            addCriterion("IS_DEFAULT not in", values, "isDefault");
            return (Criteria) this;
        }

        public Criteria andIsDefaultBetween(Byte value1, Byte value2) {
            addCriterion("IS_DEFAULT between", value1, value2, "isDefault");
            return (Criteria) this;
        }

        public Criteria andIsDefaultNotBetween(Byte value1, Byte value2) {
            addCriterion("IS_DEFAULT not between", value1, value2, "isDefault");
            return (Criteria) this;
        }

        public Criteria andCrateTimeIsNull() {
            addCriterion("CRATE_TIME is null");
            return (Criteria) this;
        }

        public Criteria andCrateTimeIsNotNull() {
            addCriterion("CRATE_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andCrateTimeEqualTo(Date value) {
            addCriterion("CRATE_TIME =", value, "crateTime");
            return (Criteria) this;
        }

        public Criteria andCrateTimeNotEqualTo(Date value) {
            addCriterion("CRATE_TIME <>", value, "crateTime");
            return (Criteria) this;
        }

        public Criteria andCrateTimeGreaterThan(Date value) {
            addCriterion("CRATE_TIME >", value, "crateTime");
            return (Criteria) this;
        }

        public Criteria andCrateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("CRATE_TIME >=", value, "crateTime");
            return (Criteria) this;
        }

        public Criteria andCrateTimeLessThan(Date value) {
            addCriterion("CRATE_TIME <", value, "crateTime");
            return (Criteria) this;
        }

        public Criteria andCrateTimeLessThanOrEqualTo(Date value) {
            addCriterion("CRATE_TIME <=", value, "crateTime");
            return (Criteria) this;
        }

        public Criteria andCrateTimeIn(List<Date> values) {
            addCriterion("CRATE_TIME in", values, "crateTime");
            return (Criteria) this;
        }

        public Criteria andCrateTimeNotIn(List<Date> values) {
            addCriterion("CRATE_TIME not in", values, "crateTime");
            return (Criteria) this;
        }

        public Criteria andCrateTimeBetween(Date value1, Date value2) {
            addCriterion("CRATE_TIME between", value1, value2, "crateTime");
            return (Criteria) this;
        }

        public Criteria andCrateTimeNotBetween(Date value1, Date value2) {
            addCriterion("CRATE_TIME not between", value1, value2, "crateTime");
            return (Criteria) this;
        }

        public Criteria andPriceSizeIsNull() {
            addCriterion("PRICE_SIZE is null");
            return (Criteria) this;
        }

        public Criteria andPriceSizeIsNotNull() {
            addCriterion("PRICE_SIZE is not null");
            return (Criteria) this;
        }

        public Criteria andPriceSizeEqualTo(String value) {
            addCriterion("PRICE_SIZE =", value, "priceSize");
            return (Criteria) this;
        }

        public Criteria andPriceSizeNotEqualTo(String value) {
            addCriterion("PRICE_SIZE <>", value, "priceSize");
            return (Criteria) this;
        }

        public Criteria andPriceSizeGreaterThan(String value) {
            addCriterion("PRICE_SIZE >", value, "priceSize");
            return (Criteria) this;
        }

        public Criteria andPriceSizeGreaterThanOrEqualTo(String value) {
            addCriterion("PRICE_SIZE >=", value, "priceSize");
            return (Criteria) this;
        }

        public Criteria andPriceSizeLessThan(String value) {
            addCriterion("PRICE_SIZE <", value, "priceSize");
            return (Criteria) this;
        }

        public Criteria andPriceSizeLessThanOrEqualTo(String value) {
            addCriterion("PRICE_SIZE <=", value, "priceSize");
            return (Criteria) this;
        }

        public Criteria andPriceSizeLike(String value) {
            addCriterion("PRICE_SIZE like", value, "priceSize");
            return (Criteria) this;
        }

        public Criteria andPriceSizeNotLike(String value) {
            addCriterion("PRICE_SIZE not like", value, "priceSize");
            return (Criteria) this;
        }

        public Criteria andPriceSizeIn(List<String> values) {
            addCriterion("PRICE_SIZE in", values, "priceSize");
            return (Criteria) this;
        }

        public Criteria andPriceSizeNotIn(List<String> values) {
            addCriterion("PRICE_SIZE not in", values, "priceSize");
            return (Criteria) this;
        }

        public Criteria andPriceSizeBetween(String value1, String value2) {
            addCriterion("PRICE_SIZE between", value1, value2, "priceSize");
            return (Criteria) this;
        }

        public Criteria andPriceSizeNotBetween(String value1, String value2) {
            addCriterion("PRICE_SIZE not between", value1, value2, "priceSize");
            return (Criteria) this;
        }

        public Criteria andCashPledgeIsNull() {
            addCriterion("CASH_PLEDGE is null");
            return (Criteria) this;
        }

        public Criteria andCashPledgeIsNotNull() {
            addCriterion("CASH_PLEDGE is not null");
            return (Criteria) this;
        }

        public Criteria andCashPledgeEqualTo(BigDecimal value) {
            addCriterion("CASH_PLEDGE =", value, "cashPledge");
            return (Criteria) this;
        }

        public Criteria andCashPledgeNotEqualTo(BigDecimal value) {
            addCriterion("CASH_PLEDGE <>", value, "cashPledge");
            return (Criteria) this;
        }

        public Criteria andCashPledgeGreaterThan(BigDecimal value) {
            addCriterion("CASH_PLEDGE >", value, "cashPledge");
            return (Criteria) this;
        }

        public Criteria andCashPledgeGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("CASH_PLEDGE >=", value, "cashPledge");
            return (Criteria) this;
        }

        public Criteria andCashPledgeLessThan(BigDecimal value) {
            addCriterion("CASH_PLEDGE <", value, "cashPledge");
            return (Criteria) this;
        }

        public Criteria andCashPledgeLessThanOrEqualTo(BigDecimal value) {
            addCriterion("CASH_PLEDGE <=", value, "cashPledge");
            return (Criteria) this;
        }

        public Criteria andCashPledgeIn(List<BigDecimal> values) {
            addCriterion("CASH_PLEDGE in", values, "cashPledge");
            return (Criteria) this;
        }

        public Criteria andCashPledgeNotIn(List<BigDecimal> values) {
            addCriterion("CASH_PLEDGE not in", values, "cashPledge");
            return (Criteria) this;
        }

        public Criteria andCashPledgeBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("CASH_PLEDGE between", value1, value2, "cashPledge");
            return (Criteria) this;
        }

        public Criteria andCashPledgeNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("CASH_PLEDGE not between", value1, value2, "cashPledge");
            return (Criteria) this;
        }

        public Criteria andIsBindMobileIsNull() {
            addCriterion("IS_BIND_MOBILE is null");
            return (Criteria) this;
        }

        public Criteria andIsBindMobileIsNotNull() {
            addCriterion("IS_BIND_MOBILE is not null");
            return (Criteria) this;
        }

        public Criteria andIsBindMobileEqualTo(Byte value) {
            addCriterion("IS_BIND_MOBILE =", value, "isBindMobile");
            return (Criteria) this;
        }

        public Criteria andIsBindMobileNotEqualTo(Byte value) {
            addCriterion("IS_BIND_MOBILE <>", value, "isBindMobile");
            return (Criteria) this;
        }

        public Criteria andIsBindMobileGreaterThan(Byte value) {
            addCriterion("IS_BIND_MOBILE >", value, "isBindMobile");
            return (Criteria) this;
        }

        public Criteria andIsBindMobileGreaterThanOrEqualTo(Byte value) {
            addCriterion("IS_BIND_MOBILE >=", value, "isBindMobile");
            return (Criteria) this;
        }

        public Criteria andIsBindMobileLessThan(Byte value) {
            addCriterion("IS_BIND_MOBILE <", value, "isBindMobile");
            return (Criteria) this;
        }

        public Criteria andIsBindMobileLessThanOrEqualTo(Byte value) {
            addCriterion("IS_BIND_MOBILE <=", value, "isBindMobile");
            return (Criteria) this;
        }

        public Criteria andIsBindMobileIn(List<Byte> values) {
            addCriterion("IS_BIND_MOBILE in", values, "isBindMobile");
            return (Criteria) this;
        }

        public Criteria andIsBindMobileNotIn(List<Byte> values) {
            addCriterion("IS_BIND_MOBILE not in", values, "isBindMobile");
            return (Criteria) this;
        }

        public Criteria andIsBindMobileBetween(Byte value1, Byte value2) {
            addCriterion("IS_BIND_MOBILE between", value1, value2, "isBindMobile");
            return (Criteria) this;
        }

        public Criteria andIsBindMobileNotBetween(Byte value1, Byte value2) {
            addCriterion("IS_BIND_MOBILE not between", value1, value2, "isBindMobile");
            return (Criteria) this;
        }

        public Criteria andIsHalfwayRestartIsNull() {
            addCriterion("IS_HALFWAY_RESTART is null");
            return (Criteria) this;
        }

        public Criteria andIsHalfwayRestartIsNotNull() {
            addCriterion("IS_HALFWAY_RESTART is not null");
            return (Criteria) this;
        }

        public Criteria andIsHalfwayRestartEqualTo(Byte value) {
            addCriterion("IS_HALFWAY_RESTART =", value, "isHalfwayRestart");
            return (Criteria) this;
        }

        public Criteria andIsHalfwayRestartNotEqualTo(Byte value) {
            addCriterion("IS_HALFWAY_RESTART <>", value, "isHalfwayRestart");
            return (Criteria) this;
        }

        public Criteria andIsHalfwayRestartGreaterThan(Byte value) {
            addCriterion("IS_HALFWAY_RESTART >", value, "isHalfwayRestart");
            return (Criteria) this;
        }

        public Criteria andIsHalfwayRestartGreaterThanOrEqualTo(Byte value) {
            addCriterion("IS_HALFWAY_RESTART >=", value, "isHalfwayRestart");
            return (Criteria) this;
        }

        public Criteria andIsHalfwayRestartLessThan(Byte value) {
            addCriterion("IS_HALFWAY_RESTART <", value, "isHalfwayRestart");
            return (Criteria) this;
        }

        public Criteria andIsHalfwayRestartLessThanOrEqualTo(Byte value) {
            addCriterion("IS_HALFWAY_RESTART <=", value, "isHalfwayRestart");
            return (Criteria) this;
        }

        public Criteria andIsHalfwayRestartIn(List<Byte> values) {
            addCriterion("IS_HALFWAY_RESTART in", values, "isHalfwayRestart");
            return (Criteria) this;
        }

        public Criteria andIsHalfwayRestartNotIn(List<Byte> values) {
            addCriterion("IS_HALFWAY_RESTART not in", values, "isHalfwayRestart");
            return (Criteria) this;
        }

        public Criteria andIsHalfwayRestartBetween(Byte value1, Byte value2) {
            addCriterion("IS_HALFWAY_RESTART between", value1, value2, "isHalfwayRestart");
            return (Criteria) this;
        }

        public Criteria andIsHalfwayRestartNotBetween(Byte value1, Byte value2) {
            addCriterion("IS_HALFWAY_RESTART not between", value1, value2, "isHalfwayRestart");
            return (Criteria) this;
        }
    }

    /**
     *
     * @mbg.generated do_not_delete_during_merge
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    /**
     *
     * @mbg.generated
     */
    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}